//
//  SEGTarget_Activity.m
//  SEGUhomeSommunityBaseInfo
//
//  Created by 梁昆 on 2018/3/27.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import "SEGTarget_Activity.h"
#import "SEGOtherCreatActivityRootListViewController.h"
#import "SEGOtherCreateActivityDetailViewController.h"

@implementation SEGTarget_Activity

/**
 * 初始化活动
 * @author Helen
 */
-(UIViewController *)segAction_initOtherCreatActivityRootListViewController:(NSDictionary *)params{
    SEGOtherCreatActivityRootListViewController *ActivityRootListVC = [[SEGOtherCreatActivityRootListViewController alloc] init];
    return ActivityRootListVC;
}

/**
 * 初始化活动 -- 活动详情
 * @author Helen
 */
-(UIViewController *)segAction_initOtherCreateActivityDetailViewController:(NSDictionary *)params{
    SEGOtherCreateActivityDetailViewController *OtherCreateActivityDetailVC = [[SEGOtherCreateActivityDetailViewController alloc] init];
    if([[params allKeys]containsObject:@"serviceId"]){[OtherCreateActivityDetailVC addServiceId:[params valueForKey:@"serviceId"]];}
    if([[params allKeys]containsObject:@"data"]){[OtherCreateActivityDetailVC addActivityData:[params valueForKey:@"data"]];}
    return OtherCreateActivityDetailVC;
}


@end
